<!--
	Note: This debugger is not for you to play with.
	Enabling this compromises the security of your Creative Framework Installation.
-->
<style type='text/css'>
	.debuggerTitle{ background: #6CF; color: #FFF; padding: 3px; font-weight: bold; }
	.debuggerContainer{ background: #FFF; padding: 3px; border: 1px dotted #36C; width: 85%; margin: auto auto; }
	.dbgData{ display: none; width: 100%; overflow-x: scroll; }
</style>
<script type='text/javascript'>
function toggleDBG(dt){
	$("#dbgData"+dt).slideToggle(450);
}
</script>
<div class='debuggerContainer'>
	<div class='debuggerTitle'>Creative Framework Advanced Debugger (Click titles to Expand / Collapse)</div>
    <div>
        <p>This tool is not for you to play with. Enabling this compromises the security of your installation.<br />
            <b>DISABLE THIS UNLESS YOU KNOW WHAT YOU ARE DOING!<br />
            WE ARE NOT RESPONSIBLE IF YOUR FORUM IS HACKED WHEN YOU HAVE THIS ENABLED</b>
        </p>
        <div class='debuggerTitle'><a href='javascript:toggleDBG("queries");'>SQL Debugger: {$queries} Queries Ran</a></div>
        <div id='dbgDataqueries' class='dbgData'><p>A total of {$queries} were ran and the following is the complete list:</p>
        <blockquote><pre>{$queries_ran}</pre></blockquote></div>
        <div class='debuggerTitle'><a href='javascript:toggleDBG("timers");'>Page Generation Time: {$gentime}</a></div>
        <div id='dbgDatatimers' class='dbgData'><p>Timers: Bootstrap Start: 0 Seconds; Bootstrap End: {$boot}; Script Shutdown Phase: {$gentime} (Measured in Seconds)</p></div>
        <div class='debuggerTitle'><a href='javascript:toggleDBG("get");'>_GET Dump</a></div>
        <div id='dbgDataget' class='dbgData'><blockquote><pre>{$dumpG}</pre></blockquote></div>
        <div class='debuggerTitle'><a href='javascript:toggleDBG("post");'>_POST Dump</a></div>
        <div id='dbgDatapost' class='dbgData'><blockquote><pre>{$dumpP}</pre></blockquote></div>
        <div class='debuggerTitle'><a href='javascript:toggleDBG("cookie");'>_COOKIE Dump</a></div>
        <div id='dbgDatacookie' class='dbgData'><blockquote><pre>{$dumpC}</pre></blockquote></div>
        <div class='debuggerTitle'><a href='javascript:toggleDBG("session");'>_SESSION Dump</a></div>
        <div id='dbgDatasession' class='dbgData'><blockquote><pre>{$dumpS}</pre></blockquote></div>
    </div>
    <div class='debuggerTitle'> CF Debugger &copy; 2009 CBB Team</div>
</div>
